export const COMPANY_CENTER = '/guoke-deepexi-company-center/api/v1/'
// 获取背调公司(get)
export const getCompanyList = `${COMPANY_CENTER}bgsurvey/CcBgSurveyCompany/downList`

//  ### 根据背调公司查询背调公司联系人、背调公司联系电话和背调公司联系邮箱
// ### 根据t2经销商查询t2联系人、t2联系电话和t2联系邮箱
export const getTargetList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getTargetList`
// T1起停用的操作
export const disableAndEnable = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/disableAndEnable`
// 发起背调
export const initiate = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/initiate`
// 详情接口
export const reportDetail = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/report/detail`
// 背调列表：原厂、当前公司T1、背调对象T2
export const getFactoryBgSurveyPageList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getFactoryBgSurveyPageList`
export const getCurrBgSurveyPageList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getCurrBgSurveyPageList`
export const getObjectBgSurveyPageList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getObjectBgSurveyPageList`
// 统计背调列表状态计数
export const getCurrBgSurveyStatusCount = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getCurrBgSurveyStatusCount`
export const getFactoryBgSurveyStatusCount = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getFactoryBgSurveyStatusCount`
export const getObjectBgSurveyStatusCount = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getObjectBgSurveyStatusCount`
// 背调跟进
// 根据ID查询背调跟进列表
export const getListBySurveyId = `${COMPANY_CENTER}bgsurvey/CcBgSurveyFollow/getListBySurveyId`
// 设置沟通记录为已读
export const setRead = `${COMPANY_CENTER}bgsurvey/CcBgSurveyFollow/setRead`
// 保存跟进信息
export const saveFollow = `${COMPANY_CENTER}bgsurvey/CcBgSurveyFollow/save`
// 线下跟进记录列表
export const followRecordList = `${COMPANY_CENTER}bgsurvey/CcBgSurveyUlineFollow/list`
// 提交线下跟进记录
export const saveFollowRecord = `${COMPANY_CENTER}bgsurvey/CcBgSurveyUlineFollow/save`
// 上传背调报告
export const uploadReport = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/report/upload`
// 审核背调报告
export const uploadApprove = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/report/approve`
// 流程记录
export const logList = `${COMPANY_CENTER}bgsurvey/CcBgSurveyLog/list`
// 导出T1列表
export const exportCurrBgSurveyList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/exportCurrBgSurveyList`
// 导出T0列表
export const exportFactoryBgSurveyList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/exportFactoryBgSurveyList`
// 上传背调报告列表
export const getEntrustBgSurveyPageList = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/getEntrustBgSurveyPageList`

// 上传声明文件
export const uploadCEfile = `${COMPANY_CENTER}bgsurvey/CcBgSurveyFile/saveSurveyFile`

// 查询上传的声明文件
export const reverseWriteCEfile = `${COMPANY_CENTER}bgsurvey/CcBgSurveyFile/selectBySurveyIdAndType`

// 查询上传的声明文件
export const entrustCompanyResponse = `${COMPANY_CENTER}bgsurvey/CcBgSurvey/entrustCompanyResponse`

// 定义字典类型常量
export const AGREEMENT_TYPE = [
  { value: 'new', label: '新签' },
  { value: 'continue', label: '续签' },
  { value: 'change', label: '变更' },
  { value: 'other', label: '其他' }
]
// 定义背调对象类型
export const SURVEY_OBJECT_TYPE = [
  // { value: 'T1', label: 'T1' },
  { value: 'T2', label: 'T2' },
  { value: '第三方', label: '第三方公司' }
]
// 定义背调紧急度的类型
export const SURVEY_URGENCY_TYPE = [
  { value: 1, label: '正常' },
  { value: 2, label: '加急' },
  { value: 3, label: '特急' }
]
// saas-start
export const STORAGE_CENTER = '/guoke-deepexi-company-center/api/v1'

// 获取下拉菜单中的值
export const GETCOMPANYNAME_CENTER = '/guoke-channel-aggregation-center/api/v1'

//配送商审核
export const distributorReview= STORAGE_CENTER + '/csovoucher/CcCsoOperFollowItem/detailExamine'
// 服务商列表
export const CcCsoServiceVoucher = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/csoPageList'
// 服务商列表-tab统计状态
export const getCsoPageCount = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/getCsoPageCount'
// 服务商列表-提交
export const subByVoucherId = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/subByVoucherId'

// 服务商列表-货款回收凭证新增-保存
export const addCcCsoLoanRecoveryItem = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/addLoanRecovery'
// 服务商列表-货款回收凭证新增-详情-编辑
export const csovouchereditLoanRecovery = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/editLoanRecovery'
// 服务商列表-货款回收凭证新增-提交
export const submitCcCsoLoanRecoveryItem = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/addSubmitLoanRecovery'
// 服务商列表-货款回收凭证新增-查询-get
export const getCcCsoLoanRecoveryItem = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/getLoanRecoveryById'
// 服务商列表-货款回收凭证新增-更新状态 
export const editProdMktCcCsoServiceVoucher = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/editProdMktStatusById'
// 服务商列表-货款回收凭证详情-审核/审计
export const editCheckCcCsoLoanRecoveryItem = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/editCheckStatusByIdList'
// 服务商列表-货款回收凭证详情-审计
export const editAuditCheckCcCsoLoanRecoveryItem = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/editAuditStatusByIdList'
// 服务商列表-货款回收凭证新增-删除
export const delCcCsoLoanRecoveryItem = STORAGE_CENTER + '/csovoucher/CcCsoLoanRecoveryItem/delLoanRecoveryById'

// 服务商列表-供货管理-保存
export const addCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/addSupplyMgr'
// 服务商列表-供货管理-提交
export const submitCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/addSubmitSupplyMgr'
// 服务商列表-供货管理-编辑
export const editCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/editSupplyMgr'
// 服务商列表-供货管理-查询
export const getCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/getSupplyMgrById'
// 服务商列表-供货管理-更新状态
export const submitStatusCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/editProdMktStatusById'
// 服务商列表-供货管理-详情审核/审计
export const editStatusCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/editCheckStatusByIdList'
// 服务商列表-供货管理-详情审核/审计
export const editAuditStatusCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/editAuditStatusByIdList'
// 服务商列表-供货管理-删除
export const delCcCsoSupplyMgrItem = STORAGE_CENTER + '/csovoucher/CcCsoSupplyMgrItem/delSupplyMgrById'
// 服务商列表-使用信息管理-保存 
export const csovoucheraddUseInfoMgr = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/addUseInfoMgr'
// 服务商列表-使用信息管理--详情-编辑
export const csovouchereditUseInfoMgr = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/editUseInfoMgr'
// 服务商列表-使用信息管理-提交
export const csovoucheraddSubmitUseInfoMgr = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/addSubmitUseInfoMgr'
// 服务商列表-使用信息管理-查询详情-get 
export const csovouchergetUseInfoMgrById = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/getUseInfoMgrById'
// 服务商列表-使用信息管理-审核
export const csovouchereditCheckStatusByIdList = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/editCheckStatusByIdList'
// 服务商列表-使用信息管理-审计
export const csovouchereditAuditStatusByIdList = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/editAuditStatusByIdList'
// 服务商列表-使用信息管理-删除
export const csovoucherdelUseInfoMgrById = STORAGE_CENTER + '/csovoucher/CcCsoUseInfoMgrItem/delUseInfoMgrById'
// 获取配送商/原厂名称
export const findCompanyPullDownList= GETCOMPANYNAME_CENTER + '/company/findCompanyPullDownList'
// 手术跟台列表弹框产品接口
export const SERVICESURGICALFRAME_CENTER = '/guoke-deepexi-product-center/api/v2'
export const operationBoxTable = SERVICESURGICALFRAME_CENTER+'/authItem/authItemCommonQuery'
// cso 配送商列表查询
export const csovoucherVoucherPageList = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/deliveryPageList'
// cso 配送商tab数量查询
export const csovoucherCcCsoService= STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/getDeliveryPageCount'
// cso 审计列表查询
export const csovoucherCcCsoVoucherentrust = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/entrustPageList'
// cso 审计tab数量展示
export const csovoucherCcCsoServiceEntrust = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/getEntrustPageCount'
// cso 原厂列表查询
export const csovoucherCcCsofactory = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/factoryPageList'
// cso 原厂tab数量查询
export const csovoucherCcCsoServiceFactory = STORAGE_CENTER + '/csovoucher/CcCsoServiceVoucher/getFactoryPageCount'
// saas-end
